//
// Created by fanghr on 17-12-30.
//
#include "imu.h"
#include "shm_data.h"
#include "../include.h"

boost::asio::io_service io;

void thread_void() {
    while (1);
}

void imu_() {
    imu_thread(io, "/dev/ttyUSB0");
}

int main() {
    boost::thread imu(&imu_);
    boost::thread shm_data(&thread_shm_data);
    boost::thread do_nothing(&thread_void);
    do_nothing.join();
}
